package com.pda.xinma.contract;

import com.pda.xinma.bean.DeliveryBasicInfoBean;
import com.pda.xinma.bean.WaitOutStockListBean;
import com.pda.xinma.bean.request.ConfirmStockRequest;
import com.wangshen.base.ui.mvp.base.view.BaseView;

import java.util.List;

public class HandingOutContract {
    public interface Presenter{
        void  queryDeliveryBasicInfo(String entryNo);
        void queryMatchingStock(String deliveryNo, String numId);
        void queryAutoMatchingStock( String deliveryNo,String numId);
        void confirmStock(ConfirmStockRequest request);
        void queryWaitOutStockList( String deliveryNo);
        void  pailOut(String deliveryNo,String numId);
    }
    public interface View extends BaseView {
        void setDetail(DeliveryBasicInfoBean bean);
        void setMatchingStockList(List<WaitOutStockListBean> list);
        void onAutoMatchingSuccess();
        void setWaitOutStockList(List<WaitOutStockListBean> list);
        void onSuccess();
    }
}
